package com.xuwenjin.jedis;

public class Jedis {
    public static void main(String[] args) {
        //导入jedis包

        //连接
        redis.clients.jedis.Jedis localhost = new redis.clients.jedis.Jedis("localhost", 6379);
        String ping = localhost.ping();
        System.out.println("ping = " + ping);

    }
}
